package com.choosefine.springboot.devops.activity.model;

import java.util.Date;

/**
 * Created by dzq on 2017/1/7 0007.
 */
public class Activity {

    /**
     * 序号
     */
    private Integer id;
    /**
     * 用户id
     */
    private Integer userId ;
    /**
     * 活动数量
     */
    private Integer  number;

    /**
     * 活動地址
     */
    private String address;
    /**
     * 活動價格
     */
    private Double price;
    /**
     * 活動低價
     */
    private Double buttonPrice;
    /**
     * 最小砍价
     */
    private Double bargainMin;
    /**
     * 最大砍价
     */
    private Double bargainMax;
    /**
     * 砍价次数
     */
    private Integer bargainNumber;

    /**
     *  活动主图
     */
    private String img;

    /**
     * 商家二维码
     */
    private String shopewm;

    /**
     * 商家名
     */
    private String shopName;
    /**
     *  活动名
     */
    private String name;
    /**
     * 活动须知
     */
    private String  rules;

    /**
     * 活动说明1
     */
    private String instructions;

    /**
     * 活动说明2
     */
    private String instructions2;

    /**
     * 活动开始时间
     */
    private String startTime;
    /**
     * 活动结束时间
     */
    private String endTime;

    /**
     * 联系电话
     */
    private String phone;

    private Date createTime;
    private Date updateTime;

    /**
     * 状态：1有效，2失效
     */
    private Byte status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getButtonPrice() {
        return buttonPrice;
    }

    public void setButtonPrice(Double buttonPrice) {
        this.buttonPrice = buttonPrice;
    }

    public Double getBargainMin() {
        return bargainMin;
    }

    public void setBargainMin(Double bargainMin) {
        this.bargainMin = bargainMin;
    }

    public Double getBargainMax() {
        return bargainMax;
    }

    public void setBargainMax(Double bargainMax) {
        this.bargainMax = bargainMax;
    }

    public Integer getBargainNumber() {
        return bargainNumber;
    }

    public void setBargainNumber(Integer bargainNumber) {
        this.bargainNumber = bargainNumber;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRules() {
        return rules;
    }

    public void setRules(String rules) {
        this.rules = rules;
    }

    public String getInstructions() {
        return instructions;
    }

    public void setInstructions(String instructions) {
        this.instructions = instructions;
    }

    public String getInstructions2() {
        return instructions2;
    }

    public void setInstructions2(String instructions2) {
        this.instructions2 = instructions2;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getShopewm() {
        return shopewm;
    }

    public void setShopewm(String shopewm) {
        this.shopewm = shopewm;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }
}
